package org.example.coffeeshoporderingsystem.store.entity;


import org.example.coffeeshoporderingsystem.common.enitty.BaseEntity;
import org.example.coffeeshoporderingsystem.staff.entity.Staff;


public class Store extends BaseEntity {
    /*门店唯一标识符*/
    private Integer storeId;
    /*门店名称*/
    private String name;
    /*门店地址*/
    private String address;
    /*门店电话号码*/
    private String phoneNumber;
    /*营业时间*/
    private String openingHours;
    /*门店经理*/
    private Staff manager;

    public Store() {
    }

    public Store(Integer storeId) {
        this.storeId = storeId;
    }

    public Store(Integer storeId, String name, String address, String phoneNumber, String openingHours, Staff manager) {
        this.storeId = storeId;
        this.name = name;
        this.address = address;
        this.phoneNumber = phoneNumber;
        this.openingHours = openingHours;
        this.manager = manager;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getOpeningHours() {
        return openingHours;
    }

    public void setOpeningHours(String openingHours) {
        this.openingHours = openingHours;
    }

    public Staff getManager() {
        return manager;
    }

    public void setManager(Staff manager) {
        this.manager = manager;
    }

    @Override
    public String toString() {
        return "Store{" +
                "storeId=" + storeId +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", openingHours='" + openingHours + '\'' +
                ", manager=" + manager +
                "} " + super.toString();
    }
}
